*******  replication Table A14
 
  
*************************************************************
*************************************************************
*************************************************************
********************          Soft Target
*************************************************************
************************************************************  
  

eststo clear
  
  

** MNLF
use "MNLF_Target_Final.dta" , clear

sum attack_region  attack_gov_region attack_soft_region


quietly: xtpoisson attack_soft_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day rain hot attack_soft_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model1

** MILF
use "MILF_Target_Final.dta" , clear

sum attack_region  attack_gov_region attack_soft_region

quietly: xtpoisson attack_soft_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day rain hot lag_gov_counter attack_soft_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model2


** BIFF
use "BIFF_Target_Final.dta" , clear

sum attack_region  attack_gov_region attack_soft_region


quietly: xtpoisson attack_soft_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day rain hot lag_gov_counter attack_soft_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model3


*** Patani before 2000

use "Patani_bef_Target_Final.dta" , clear

sum attack_region  attack_gov_region attack_soft_region


quietly: xtpoisson attack_soft_region ramadan  Bud_holiday nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day rain hot  attack_soft_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model4


*** Patani after 2000


use "Patani_aft_Target_Final.dta" , clear


sum attack_region  attack_gov_region attack_soft_region


quietly: xtpoisson attack_soft_region ramadan Bud_holiday nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day rain hot lag_gov_counter attack_soft_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model5

*** GAM

use "GAM_Target_Final.dta" , clear

sum attack_region  attack_gov_region attack_soft_region

quietly: xtpoisson attack_soft_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day rain hot lag_gov_counter attack_soft_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model6


esttab using Table_A14.tex,  order(ramadan Islamic_3day Islamic_2day Islamic_1day christian_4days christian_2days christian_1days  Bud_holiday    nonreli_holiday  nation_election lag_gov_counter  rain hot attack_soft_region_lag cubic1 cubic2 cubic3 ) label star(* 0.05 ** 0.01 *** 0.001) se b(3) replace booktabs ///
  alignment(D{.}{.}{-1})      mtitles("Model 1" "Model 2"  "Model 3" "Model 4"  "Model 5" "Model 6")                   ///
  title(Fixed Effects Model table\label{tab1})






*************************************************************
*************************************************************
*************************************************************
********************          Hard target
*************************************************************
************************************************************  
  

*******  replication Table A15
  
  
eststo clear
  
  
** MNLF
use "MNLF_Target_Final.dta" , clear



quietly: xtpoisson attack_gov_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day  rain hot attack_gov_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model1

** MILF
use "MILF_Target_Final.dta" , clear


quietly: xtpoisson attack_gov_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day  rain hot lag_gov_counter attack_gov_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model2


** BIFF
use "BIFF_Target_Final.dta" , clear



quietly: xtpoisson attack_gov_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day  rain hot lag_gov_counter attack_gov_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model3


*** Patani before 2000

use "Patani_bef_Target_Final.dta" , clear



quietly: xtpoisson attack_gov_region ramadan  Bud_holiday nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day  rain hot  attack_gov_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model4


*** Patani after 2000


use "Patani_aft_Target_Final.dta" , clear




quietly: xtpoisson attack_gov_region ramadan Bud_holiday nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day  rain hot lag_gov_counter attack_gov_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model5

*** GAM

use "GAM_Target_Final.dta" , clear


quietly: xtpoisson attack_gov_region ramadan christian_4days christian_2days christian_1days nonreli_holiday  /*
*/ nation_election Islamic_3day Islamic_2day Islamic_1day  rain hot lag_gov_counter attack_gov_region_lag cubic1-cubic3 , fe vce(robust) difficult
eststo model6


esttab using Table_A15.tex,  order(ramadan Islamic_3day Islamic_2day Islamic_1day  christian_4days christian_2days christian_1days Bud_holiday    nonreli_holiday  nation_election lag_gov_counter  rain hot attack_gov_region_lag cubic1 cubic2 cubic3 ) label star(* 0.05 ** 0.01 *** 0.001) se b(3) replace booktabs ///
  alignment(D{.}{.}{-1})      mtitles("Model 1" "Model 2"  "Model 3" "Model 4"  "Model 5" "Model 6")                   ///
  title(Fixed Effects Model table\label{tab1})
  
  
 




 

